# coding: utf-8
#

from rest_framework import serializers

__all__ = ['AlertMailTestSerializer']


class AlertMailTestSerializer(serializers.Serializer):
    ALERT_EMAIL_HOST = serializers.CharField(max_length=1024, required=True)
    ALERT_EMAIL_PORT = serializers.IntegerField(default=25)
    ALERT_EMAIL_HOST_USER = serializers.CharField(max_length=1024)
    ALERT_EMAIL_HOST_PASSWORD = serializers.CharField(required=False, allow_blank=True)
    ALERT_EMAIL_FROM = serializers.CharField(required=False, allow_blank=True)
    ALERT_EMAIL_RECIPIENT = serializers.CharField(required=False, allow_blank=True)
